<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>${sysname}</title>
<%@ include file="/WEB-INF/jsp/include/css.jsp"%>
<%@ include file="/WEB-INF/jsp/include/js.jsp"%>
<%@ include file="/WEB-INF/jsp/include/datepicker.jsp"%>
</head>

<body>
	<my:navigation text="供应商业务 >>　药品入库 >> 入库单列表" percent="90" />
	<form action="salaryManage_list.do" method="post">
		<table border="0" width="90%" align="center" style="margin-top:10px">
			<tr>
				<td width="5%">店员</td>
				<td width="40%">
				   <select class="text" name="empId">
						<c:forEach items="${emps}" var="emp">
							<option value="${emp.empId}" <c:if test="${salary.empId eq emp.empId}">selected</c:if>>${emp.empName}</option>
						</c:forEach>
				   </select>
				</td>
				<td rowspan="2" align="right"><input type="submit"
					class="btn find" value="查询" />&nbsp;&nbsp;<input type="button" class="btn ok"
					style="width:90px" value="添加工资"
					onclick="location='salaryManage_toAdd.do'" /></td>
			</tr>
		</table>
	</form>
	<table class="table" rowNum="15" width="90%" align="center">
		<tr>
			<th>店员</th>
			<th>基本工资</th>
			<th>绩效工资</th>
			<th>销售提成</th>
			<th>总工资</th>
			<th>备注</th>
			<th>操作</th>
		</tr>
		<c:forEach items="${pagination.dataList}" var="msi">
			<tr>
				<td>${msi.empName}</td>
				<td>${msi.basicSalary}</td>
				<td>${msi.performanceSalary}</td>
				<td>${msi.commissionSalary}</td>
				<td>${msi.totalMoney}</td>
				<td>${msi.remark}</td>
				<td><a href="${ctx}/salaryManage_toEdit.do?id=${msi.id}">修改</a> <a href="${ctx}/salaryManage_del.do?id=${msi.id}" onclick="return confirm('确定要删除吗？');">删除</a></td>
			</tr>
		</c:forEach>
	</table>
	${pagination.naviHtml}
</body>
</html>
